<template>
  <div class="main">
    <header>
      <div class="head">
        <div class="flex">
          <!-- logo -->
          <div class="aliyun-topbar-element aliyun-logo pointer">
            <router-link class="ace-link ace-link-primary aliyun-logo-link" to="/">
              <img src="../../assets/logo.png" class="aliyun-logo-image" />
              <!-- <p class="logoText">Engineering Service Request Platform</p> -->
            </router-link>
          </div>

          <!-- <div class="cateBox">
            <a
              class="ace-link ace-link-primary ability-element-topbar ability-element-item"
              style="margin-right: 20px;"
              @click="LoginOut"
            >Login Out</a>
            <button
              type="button"
              class="ace-btn ace-medium ace-btn-normal ability-login-button"
              @click="ForgetPassword"
            >Forget Password</button>
          </div>-->
        </div>
      </div>
    </header>
    <div class="content" v-html="content"></div>
  </div>
</template>

<script>
import Header from '@/components/layout/header'

export default {
  data() {
    return {
      content: '',
    }
  },
  components: {
    Header,
  },
  created(e) {
    console.log('e :>> ', this.$route.query.Details)
    this.content = this.$route.query.Details.split('\\').join('')
  },
  methods: {
    LoginOut() {
      sessionStorage.setItem('loginStatus', false)
      this.$router.push({ path: '/login' })
    },
    ForgetPassword() {},
  },
}
</script>

<style lang="less" scoped>
.main {
  width: 100%;
  background-color: #f4f5f5;
}
body {
}
/deep/.Pagebottom {
  margin-top: 0 !important;
}
.content {
  width: 1200px;
  margin: 0 auto;
  padding: 38px 18px;
  min-height: 588px;
  word-break: break-all;
  position: relative;
  color: #24292e;
  background-color: #fff;
  border: 1px solid #d1d5da;
  border-radius: 6px;
  margin-top: 58px;
}

.activeSolution {
  border-bottom: 2px solid #ff6a00;
  color: #ff6a00;
}

header {
  width: 100%;
  background: #fff;
}
.head {
  padding-top: 65px;
  padding-bottom: 15px;
  height: auto;
  max-width: 1201px;
  margin: 0 auto;
}

.logoText {
  font-size: 22px;
  color: #000;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  width: 550px;
}

.ability-element-topbar .cart-icon {
  font-size: 23px;
  position: relative;
  display: inline-block;
  width: 23px;
  height: 23px;
  top: 3px;
  margin-right: 2px;
}

a {
  color: #181818;
}

.ace-common-menu-wrap {
  height: 50px;
  width: 1200px;
  position: relative;
  z-index: 111;
  background: #fff;
}

.aliyun-topbar-element.aliyun-logo {
  width: 250px;
  margin-top: -42px;
}

.aliyun-topbar-element {
  float: left;
  // line-height: 40px;
  // height: 40px;
  vertical-align: middle;
}

.aliyun-topbar-element.aliyun-logo .aliyun-logo-link {
  display: inline-block;
  width: 100%;
  margin-top: 2px;
}

.aliyun-topbar-element.aliyun-logo .aliyun-logo-link .aliyun-logo-image {
  // width: 100%;
  // height: 27px;
  margin-top: 28px;
}

.ace-common-menu {
  line-height: 50px;
  position: relative;
  z-index: 999;
  box-sizing: border-box;
}

.ace-common-menu-list {
  padding: 0 16px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
}

// 免费注册按钮
.ability-login-button {
  width: 120px;
  height: 36px;
  outline: none;
  border: none;
  color: #fff;
  background-color: #ff6a00;
  font-size: 14px;
  vertical-align: middle;
}

// 购物车区域
.cateBox {
  margin-left: 388px;
  color: #181818;
  vertical-align: middle;
  position: absolute;
  right: 389px;
}
</style>